<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <script>
    init()
    console.log(1234);
    function init() {
      let array = ['a', 'b', 'c'];
      array.forEach((value, index) => {
        console.log(index);
        if (index === 0) {
          return ;
          // break;
        }
      })
    }
  </script>
</body>

</html>